import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/course-web/studentGrade/.jsonp?page=1&limit=100',
    method: 'get',
    params
  })
}

export const delTableRow = (courseId) => {
  return request({
    url: `/course-web/studentGrade/deletebyid/${courseId}`,
    method: 'get',
  })
}

export const updateRow = () => {
  return request({
    url: `/course-web/studentGrade/update`,
    method: 'get',
  })
}

	export function searchList(params, id){
		  return request({
		    url: `/course-web/studentGrade/findbyid/${id}`,
		    method: 'get',
		    params
		  })
		}